<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Team')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-team" data-rule="required" class="form-control" name="row[team]" type="number" value="{$row.team|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Verif_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-verif_code" class="form-control" name="row[verif_code]" type="text" value="{$row.verif_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_state')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="payStateList" item="vo"}
            <label for="row[pay_state]-{$key}"><input id="row[pay_state]-{$key}" name="row[pay_state]" type="radio" value="{$key}" {in name="key" value="$row.pay_state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="{$row.order_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-start" data-rule="required" class="form-control selectpicker" name="row[start]">
                {foreach name="startList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.start"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Follow')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-follow" data-rule="required" class="form-control selectpicker" name="row[follow]">
                {foreach name="followList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.follow"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sign_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sign_id" data-rule="required" data-source="sign/index" class="form-control selectpage" name="row[sign_id]" type="text" value="{$row.sign_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Write_off_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-write_off_id" data-rule="required" data-source="write/off/index" class="form-control selectpage" name="row[write_off_id]" type="text" value="{$row.write_off_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_system')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_system" data-rule="required" class="form-control selectpicker" name="row[is_system]">
                {foreach name="isSystemList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_system"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ct_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ct_date" data-rule="required" class="form-control" name="row[ct_date]" type="number" value="{$row.ct_date|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Up_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-up_date" data-rule="required" class="form-control" name="row[up_date]" type="number" value="{$row.up_date|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Delete')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-delete" data-rule="required" class="form-control selectpicker" name="row[delete]">
                {foreach name="deleteList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.delete"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
